package edu.uw.cs.cse461.sp12.OS;

public interface OSService {
	/**
	 * Returns the name used to identify the service.
	 * For example, the instance for the RPC service should return "rpc".
	 * @return
	 */
	public String servicename();

	/**
	 * Called when the service should shut down.  If the service has started 
	 * any threads, its important that they be terminated - otherwise, the application
	 * as a whole won't terminate.  You can do any other cleanup that's required 
	 * as well.
	 */
	public void shutdown();

}
